package net.tankwar.event;

import java.util.List;

import javafx.scene.image.Image;
import net.jumpengine.bean.IconsBase;
import net.jumpengine.enume.GameState;
import net.jumpengine.inter.IStateEvent;
import net.jumpengine.util.UIO;

public class IconsStateEvent implements IStateEvent {
	private boolean load=false;

	@Override
	public boolean isLoaded() {
		return load;
	}

	@Override
	public void load() {
		List<Image> images = UIO.loadImages("/ico/icon0.png",null);
		new IconsBase(3000, images, GameState.start);
		
		load=true;
	}
	
	@Override
	public void show() {
				
	}

	@Override
	public void pause() {

	}

	@Override
	public void end() {

	}

	@Override
	public void setBackImage(Image image) {
		// TODO Auto-generated method stub
		
	}

}
